package whu.cn.whushare.ui.common;

import android.view.View;
import android.widget.ImageView;
import android.widget.SearchView;
import android.widget.TextView;

import com.androidplus.util.ViewMapping;
import com.dd.processbutton.iml.ActionProcessButton;

import whu.cn.whushare.R;

//顶部菜单条类
public class TopBar {
	@ViewMapping(id = R.id.top_title)           //获取顶部菜单条标题文本框
	public TextView title;
	@ViewMapping(id = R.id.go_back_btn)         //获取顶部菜单条“返回”按钮
	public ImageView goBack;
	@ViewMapping(id = R.id.top_right_image)     //获取顶部菜单条右边图像
	public ImageView rightImg;
	@ViewMapping(id = R.id.top_right_txt)       //获取顶部菜单条右边文本框
	public ActionProcessButton rightText;
	@ViewMapping(id = R.id.top_search)          //获取顶部菜单条搜索布局控件
	public View searchLayout;
	@ViewMapping(id = R.id.searchView)          //获取顶部菜单条搜索视图
	public SearchView searchView;
	@ViewMapping(id = R.id.searchTxt)           //获取顶部菜单条搜索文本框
	public TextView searchTxt;
}
